            <h3 class="box-title ">
              订单信息 
            </h3>
            <div class="table-responsive">
              <table class="table table-striped" id="dataTable" >
                <thead>
                  <tr>
                    <th>订单号</th>
                    <th>拿牌号</th>
                    <th>状态</th>
                    <th>总价</th>
                    <th>操作</th>
                  </tr>
                </thead>
                <tbody>
                  <% @orders.each do |order| %>
                  <tr>
                    <td><%= order.order_number %></td>
                    <td><%= order.show_number %></td>
                    <td><%= order.label %></td>
                    <td>
                      ￥ <%= order.total_price %>元
                    </td>
                    <td>
                     <%= link_to "查看订单详情","/restaurants/orders/#{order.id}",class:"btn btn-default" %>
                    <%= link_to "删除订单","/restaurants/orders/#{order.id}",method: :delete,class:"btn btn-danger",data:{confirm:"确定要删除吗?"} %>
                    </td>
                  </tr>
                  <% end %>
                </tbody>
              </table>
            </div>